//package com.ruicar.afs.cloud.demo.demo.mq.rabbit.receiver.bizprocessor;
//
//import com.ruicar.afs.cloud.common.mq.rabbit.listener.AfsMqBizProcessor;
//import com.ruicar.afs.cloud.common.mq.rabbit.message.MqTransCode;
//import com.ruicar.afs.cloud.demo.demo.mq.rabbit.DemoMqMessage;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Component;
//
//@Component
//@Slf4j
//public class DemoBizProcessor implements AfsMqBizProcessor<DemoMqMessage> {
//    @Override
//    public boolean processMessage(DemoMqMessage mqMessage) {
//        log.info("交易id{},交易数据{}",mqMessage.getId(),mqMessage.getHeheda());
//        return true;
//    }
//
//    @Override
//    public MqTransCode getCode() {
//        return MqTransCode.AFS_TEST_DEMO_TRANS_CODE;
//    }
//}
